/*********************************************************************
* File:: CommunicationSampleAgent.h
* \brief The communication API sample.
*********************************************************************/
#pragma once

#include "../Agent.h"
using namespace agents;

namespace agents{ namespace samples{
	/**
	* \class CommunicationSampleAgent
	* \brief The communication API sample.
	*
	* The agents acknowledges in the \a console the reception of chat and 
	* radio messages.
	*
	* \author Instituto Superior Tecnico de Lisboa, Portugal
	* \author Technical University of Lisbon, Portugal
	* 
	* \author Agentes Autonomos e Sistemas Multiagente
	* \author Autonomous Agents and Multiagent Systems
	* 
	* \version	1.0
	* \date		2006/2007
	**/
	class CommunicationSampleAgent: public Agent{
	public:
		CommunicationSampleAgent(edict_t *enity, int team, int model);
		~CommunicationSampleAgent();

	private:
		void think();
		void checkRadioCommands();
	};
}}